DataCollection | ComponentOne
C1.iOS.DataCollection Assembly / C1.iOS.DataCollection Namespace / C1CollectionViewSource<T> Class / NumberOfSections Method
Collection view displaying the sections.

In This Topic
    NumberOfSections Method (C1CollectionViewSource<T>)
    In This Topic
    Returns the number of sections that are required to display the data.
    Syntax
    'Declaration
     
    Public Overrides NotOverridable Function NumberOfSections( _
       ByVal collectionView As UIKit.UICollectionView _
    ) As IntPtr
    public override IntPtr NumberOfSections( 
       UIKit.UICollectionView collectionView
    )

    Parameters

    collectionView
    Collection view displaying the sections.

    Return Value

    Number of sections required to display the data. The default is 1 (a collection must have at least one section).
    See Also